﻿using Abp.Application.Services.Dto;
using shenghua.Common.Dto;
using shenghua.Marketing.Coupons.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shenghua.Marketing.Coupons
{
    public interface ICouponAppService
    {
        Task<CouponDto> Create(CreateCouponDto input);
        Task<CouponDto> Update(UpdateCouponDto input);
        Task Delete(EntityDto input);
        Task<PagedResultDto<CouponDto>> AdminSearch(SearchCouponDto input);
        Task<PagedResultDto<CouponDto>> Search(SearchCouponDto input);
        Task MemberReceiveCoupon(EntityDto input);
        Task<PagedResultDto<MemberCouponDto>> GetAllMemberCoupon(SearchMemberCouponDto input);
        Task DeleteMemberCoupon(EntityDto input);
        Task<PagedResultDto<MemberCouponDto>> SearchGrantRecords(SearchGrantRecordsDto input);
        Task DeleteMemberCoupon(BatchIntIdDto input);
    }
}
